#include <iostream>
#include <thread>
#include <stdlib.h>

int main(int argc, const char *argv[])
{
	system("mkdir -p logs");
	while (true) {
		system("echo test >> ./logs/test.log");
		std::this_thread::sleep_for(std::chrono::seconds(2));
	}
	
	return 0;
}
